<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <p>外地入郑隔离一览表</p>
    <script>
        // 地址
        var add = prompt('您从哪里来？', '北京');
        switch (add) {
            case '低风险地区':
                console.log('三天三检');
                break
            case '中风险地区':
                console.log('七天居家');
                break
            case '高风险地区':
                console.log('喜提14天');
                break
            default:
                console.log('报备');
                break
        }
    </script>
</body>

</html>